package com.sevattal.service.leaves.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sevattal.service.leaves.entity.PurchaseChildOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sevattal.service.leaves.entity.vo.PurchaseChildOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 采购子表 Mapper 接口
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Repository
@Mapper
public interface PurchaseChildOrderMapper extends BaseMapper<PurchaseChildOrder> {

    List<PurchaseChildOrderVo> getPurchaseChildOrderList(@Param(Constants.WRAPPER)  QueryWrapper<PurchaseChildOrder> childOrderQueryWrapper);
}
